package com.momoauth.gateway.config;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.alibaba.nacos.api.config.annotation.NacosValue;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.Map;

@Data
@Component
@ConfigurationProperties(prefix="gateway.filter")
@NacosConfigurationProperties(dataId = "gateway-dev.yml")
public class GatewayConfig {
    @NacosValue("${restricted}")
    private Map<String,String> restricted;
}
